package com.qf.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Set;

/**
 * projectName: sms-platform02
 *
 * @author: 元
 * time: 2021/10/21 0021 10:38
 * description:和缓存模块对接
 */
@FeignClient(value = "sms-platform-cache2104")
public interface CacheFeign {
    //通配获取key集合
    @GetMapping(value = "/cache/keys/{key}")
    public Set<String> keys(@PathVariable(value = "key")String key);


}
